package com.cbn.ibcp.jishiting.rms.service;

import com.cbn.ibcp.jishiting.rms.bo.ResourceStreamBO;
import com.cbn.ibcp.jishiting.rms.domain.ResourceStream;

import java.util.List;

public interface IResourceStreamService {


    /**
     * 根据id查询资源流
     *
     * @param id
     * @return
     */
    ResourceStream selectById(Long id);

    /**
     * 根据资源id查询资源流
     *
     * @param tenantCode
     * @param resId
     * @param quality
     * @return
     */
    ResourceStream selectByResIdAndQuality(String tenantCode, Long resId, Integer quality);

    /**
     * 根据episodeId查询关联的资源流
     *
     * @param resourceStreamBO
     * @return
     */
    List<ResourceStreamBO> selectWithEpisodeList(ResourceStreamBO resourceStreamBO);
}
